//Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
//Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
//Decompiler options: packimports(3) fieldsfirst ansi 
//Source File Name:   Includes.java

package com.vandagroup.common.includes;

import com.vanda.data.BeanListBase;
import com.vandagroup.common.util.Result;
import javax.servlet.jsp.JspWriter;

public class Includes
{

private static String contexPath = null;

public Includes()
{
}

public static void setContex(String cx)
{
   if(contexPath == null)
       contexPath = cx;
}

public static void getHead(JspWriter out, String pageTitle, String operationTitle, boolean isIncludeOnloadEvent, String onloadEvent, boolean isIncludeOnunloadEvent, String onunloadEvent)
{
   try
   {
       out.println("<html>");
       out.println("<head>");
       out.println("<meta http-equiv='content-type' content='text/html; charset=UTF-8'>");
       out.println("<meta name='keywords' content='安利（中國）'>");
       out.println("<meta http-equiv='Content-Style-Type' content='text/css'>");
       out.println("<link rel='stylesheet' type='text/css' href='" + contexPath + "/includes/css/default.jsp'>");
       out.println("<script language=javascript src='" + contexPath + "/includes/js/default.js'></script>");
       out.println("<script language=javascript src='" + contexPath + "/includes/js/DateSelect/DateSelect.js'></script>");
       out.println("<script language=javascript src='" + contexPath + "/includes/js/treeView/TreeView.js'></script>");
       out.println("<script language=javascript src='" + contexPath + "/includes/js/treeView/CheckboxTreeView.js'></script>");
       out.println("<title>" + (pageTitle == null ? "安利（中國）" : pageTitle) + "</title>");
       out.println("<script language='javascript'>");
       out.println("<!--");
       out.println("function initPageOnload() {");
       out.println("   try {");
       if(isIncludeOnloadEvent)
           out.println("       " + onloadEvent);
       else
           out.println("       return;");
       out.println("   } catch ( e ) {");
       out.println("       alert( e );");
       out.println("   }");
       out.println("}\n");
       out.println("function initPageOnunload() {");
       out.println("   try {");
       if(isIncludeOnunloadEvent)
           out.println("       " + onunloadEvent);
       else
           out.println("       return;");
       out.println("   } catch ( e ) {");
       out.println("       alert( e );");
       out.println("   }");
       out.println("}");
       out.println("-->");
       out.println("</script>");
       out.println("</head>");
       String onload = isIncludeOnloadEvent ? " onload='initPageOnload()'" : "";
       String onunload = isIncludeOnunloadEvent ? " onunload='initPageOnunload()'" : "";
       out.println("<body" + onload + onunload + ">");
       out.println("   <table width='100%' height='100%' border=0 cellspacing=0 cellpadding=0>");
       out.println("   <tr>");
       out.println("       <td>");
       out.println("           <table border=0 cellspacing=0 cellpadding=0 width='100%'>");
       out.println("           <tr>");
       out.println("               <td width=1><img src='" + contexPath + "/includes/images/ns_title_left.gif'></td>");
       out.println("               <td width='100%' class='operationTitle' background='" + contexPath + "/includes/images/ns_title_bg.gif'><font face=\"黑體,Arial, Helvetica, sans-serif\" color=#000000 size=4>" + (operationTitle == null ? "安利業務維護系統" : operationTitle) + "</font></td>");
       out.println("           </tr>");
       out.println("           </table>");
       out.println("       </td>");
       out.println("   </tr>");
       out.println("   <tr>");
       out.println("       <td height='90%' valign=top><br>");
   }
   catch(Throwable t)
   {
       t.printStackTrace();
   }
}

public static void getFoot(JspWriter out)
{
   try
   {
       out.println("       </td>");
       out.println("   </tr>");
       out.println("   <tr>");
       out.println("       <td>&nbsp;</td>");
       out.println("   </tr>");
       out.println("   </table>");
       out.println("</body>");
       out.println("</html>");
   }
   catch(Throwable t)
   {
       t.printStackTrace();
   }
}

public static void getFrameHead(JspWriter out, String pageTitle, String operationTitle, boolean isIncludeOnloadEvent, String onloadEvent, boolean isIncludeOnunloadEvent, String onunloadEvent)
{
   try
   {
       out.println("<html>");
       out.println("<head>");
       out.println("<meta http-equiv='content-type' content='text/html; charset=UTF-8'>");
       out.println("<meta name='keywords' content='安利（中國）'>");
       out.println("<meta http-equiv='Content-Style-Type' content='text/css'>");
       out.println("<link rel='stylesheet' type='text/css' href='" + contexPath + "/includes/css/default.jsp'>");
       out.println("<script language=javascript src='" + contexPath + "/includes/js/default.js'></script>");
       out.println("<script language=javascript src='" + contexPath + "/includes/js/DateSelect/DateSelect.js'></script>");
       out.println("<script language=javascript src='" + contexPath + "/includes/js/treeView/TreeView.js'></script>");
       out.println("<script language=javascript src='" + contexPath + "/includes/js/treeView/CheckboxTreeView.js'></script>");
       out.println("<title>" + (pageTitle == null ? "安利（中國）" : pageTitle) + "</title>");
       out.println("<script language='javascript'>");
       out.println("<!--");
       out.println("function initPageOnload() {");
       out.println("   try {");
       if(isIncludeOnloadEvent)
           out.println("       " + onloadEvent);
       else
           out.println("       return;");
       out.println("   } catch ( e ) {");
       out.println("       alert( e );");
       out.println("   }");
       out.println("}\n");
       out.println("function initPageOnunload() {");
       out.println("   try {");
       if(isIncludeOnunloadEvent)
           out.println("       " + onunloadEvent);
       else
           out.println("       return;");
       out.println("   } catch ( e ) {");
       out.println("       alert( e );");
       out.println("   }");
       out.println("}");
       out.println("-->");
       out.println("</script>");
       out.println("</head>");
       String onload = isIncludeOnloadEvent ? " onload='initPageOnload()'" : "";
       String onunload = isIncludeOnunloadEvent ? " onunload='initPageOnunload()'" : "";
       out.println("<body" + onload + onunload + " style=\"margin-top: 5px\">");
       out.println("   <table width='100%' height='100%' border=0 cellspacing=0 cellpadding=0>");
       out.println("   <tr>");
       out.println("       <td height='90%' valign=top>");
   }
   catch(Throwable t)
   {
       t.printStackTrace();
   }
}

public static void getFrameFoot(JspWriter out)
{
   try
   {
       out.println("    </td>");
       out.println("</tr>");
       out.println("</table>");
       out.println("</body>");
       out.println("</html>");
   }
   catch(Throwable t)
   {
       t.printStackTrace();
   }
}

public static void displayTurnPageUp(JspWriter out, Result result)
   throws Exception
{
   try
   {
       out.print("\n<table border='0' cellspacing='0' cellpadding='0' height='30'>");
       out.print("\n<tr>");
       out.print("\n\t<td nowrap class='tdPages'>&nbsp;【共 <font class='pageFont'  color='red'>" + result.getCounter() + "</font> 條記錄 第 <font class='pageFont' color='red'>" + result.getCurrentPageNo() + "</font> 頁 共 <font class='pageFont'  color='red'>" + result.getMaxPageNo() + "</font> 頁】</td>");
       out.print("\n\t<td width='100%'>&nbsp;</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_left.gif' border='0'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 1 && result.getCurrentPageNo() != 1)
           out.print("<a href='javascript:turnPage( \"1\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_first.gif' border='0' alt='到首頁'>");
       if(result.getMaxPageNo() > 1 && result.getCurrentPageNo() != 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 1 && result.getCurrentPageNo() != 1)
           out.print("<a href='javascript:turnPage( \"" + (result.getCurrentPageNo() - 1) + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_pre.gif' border='0' alt='到上一頁'>");
       if(result.getMaxPageNo() > 1 && result.getCurrentPageNo() != 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_goto.gif' border='0'></td>");
       out.print("\n\t<td><input type='text' name='goToPageUp' id='goToPageUp' class='goToPageText' maxlength='4'></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_page.gif' border='0'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 1)
           out.print("<a href=\"javascript:if ( checkPageNO( document.all( 'goToPageUp' ).value, '" + result.getMaxPageNo() + "' ) ) { turnPage( document.all( 'goToPageUp' ).value ) }\">");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_go.gif' border='0'>");
       if(result.getMaxPageNo() > 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 0 && result.getMaxPageNo() != result.getCurrentPageNo())
           out.print("<a href='javascript:turnPage( \"" + (result.getCurrentPageNo() + 1) + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_next.gif' border='0' alt='到下一頁'>");
       if(result.getMaxPageNo() > 0 && result.getMaxPageNo() != result.getCurrentPageNo())
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 0 && result.getMaxPageNo() != result.getCurrentPageNo())
           out.print("<a href='javascript:turnPage( \"" + result.getMaxPageNo() + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_last.gif' border='0' alt='到末頁'>");
       if(result.getMaxPageNo() > 0 && result.getMaxPageNo() != result.getCurrentPageNo())
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_right.gif' border='0'></td>");
       out.print("\n\t<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>");
       out.print("\n</tr>");
       out.print("\n</table>\n");
   }
   catch(Exception e)
   {
       System.out.println(e.toString());
       throw e;
   }
}

public static void displayTurnPageBottom(JspWriter out, Result result)
   throws Exception
{
   try
   {
       out.print("\n<table border='0' cellspacing='0' cellpadding='0' height='30'>");
       out.print("\n<tr>");
       out.print("\n\t<td nowrap class='tdPages'>&nbsp;【共 <font class='pageFont' color='red'>" + result.getCounter() + "</font> 條記錄 第 <font class='pageFont' color='red'>" + result.getCurrentPageNo() + "</font> 頁 共 <font class='pageFont' color='red'>" + result.getMaxPageNo() + "</font> 頁】</td>");
       out.print("\n\t<td width='100%'>&nbsp;</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_left.gif' border='0'></td>");
       out.print("\n\t<td><a href='#'><img src='" + contexPath + "/includes/images/ns1_tp_top.gif' border='0'></a></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 1 && result.getCurrentPageNo() != 1)
           out.print("<a href='javascript:turnPage( \"1\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_first.gif' border='0' alt='到首頁'>");
       if(result.getMaxPageNo() > 1 && result.getCurrentPageNo() != 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 1 && result.getCurrentPageNo() != 1)
           out.print("<a href='javascript:turnPage( \"" + (result.getCurrentPageNo() - 1) + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_pre.gif' border='0' alt='到上一頁'>");
       if(result.getMaxPageNo() > 1 && result.getCurrentPageNo() != 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_goto.gif' border='0'></td>");
       out.print("\n\t<td><input type='text' name='goToPageBottom' id='goToPageBottom' class='goToPageText' maxlength='4'></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_page.gif' border='0'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 1)
           out.print("<a href=\"javascript:if ( checkPageNO( document.all( 'goToPageBottom' ).value, '" + result.getMaxPageNo() + "' ) ) { turnPage( document.all( 'goToPageBottom' ).value ) }\">");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_go.gif' border='0'>");
       if(result.getMaxPageNo() > 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 0 && result.getMaxPageNo() != result.getCurrentPageNo())
           out.print("<a href='javascript:turnPage( \"" + (result.getCurrentPageNo() + 1) + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_next.gif' border='0' alt='到下一頁'>");
       if(result.getMaxPageNo() > 0 && result.getMaxPageNo() != result.getCurrentPageNo())
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(result.getMaxPageNo() > 0 && result.getMaxPageNo() != result.getCurrentPageNo())
           out.print("<a href='javascript:turnPage( \"" + result.getMaxPageNo() + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_last.gif' border='0' alt='到末頁'>");
       if(result.getMaxPageNo() > 0 && result.getMaxPageNo() != result.getCurrentPageNo())
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_right.gif' border='0'></td>");
       out.print("\n\t<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>");
       out.print("\n</tr>");
       out.print("\n</table>\n");
   }
   catch(Exception e)
   {
       System.out.print(e.toString());
       throw e;
   }
}

public static void displayTurnPageUp(JspWriter out, BeanListBase beanListBase)
   throws Exception
{
   try
   {
       int rows = beanListBase.getSelectData().getRecordCount() / beanListBase.getSelectData().getPageRowNum();
       if(beanListBase.getSelectData().getRecordCount() % beanListBase.getSelectData().getPageRowNum() != 0)
           rows++;
       out.print("\n<table border='0' cellspacing='0' cellpadding='0' height='30'>");
       out.print("\n<tr>");
       out.print("\n\t<td nowrap class='tdPages'>&nbsp;【共 <font class='pageFont'  color='red'>" + beanListBase.getSelectData().getRecordCount() + "</font> 條記錄 第 <font class='pageFont' color='red'>" + beanListBase.getSelectData().getPageNo() + "</font> 頁 共 <font class='pageFont'  color='red'>" + rows + "</font> 頁】</td>");
       out.print("\n\t<td width='100%'>&nbsp;</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_left.gif' border='0'></td>");
       out.print("\n\t<td>");
       if(rows > 1 && beanListBase.getSelectData().getPageNo() != 1)
           out.print("<a href='javascript:turnPage( \"1\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_first.gif' border='0' alt='到首頁'>");
       if(rows > 1 && beanListBase.getSelectData().getPageNo() != 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(rows > 1 && beanListBase.getSelectData().getPageNo() != 1)
           out.print("<a href='javascript:turnPage( \"" + (beanListBase.getSelectData().getPageNo() - 1) + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_pre.gif' border='0' alt='到上一頁'>");
       if(rows > 1 && beanListBase.getSelectData().getPageNo() != 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_goto.gif' border='0'></td>");
       out.print("\n\t<td><input type='text' name='goToPageUp' id='goToPageUp' class='goToPageText' maxlength='4'></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_page.gif' border='0'></td>");
       out.print("\n\t<td>");
       if(rows > 1)
           out.print("<a href=\"javascript:if ( checkPageNO( document.all( 'goToPageUp' ).value, '" + rows + "' ) ) { turnPage( document.all( 'goToPageUp' ).value ) }\">");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_go.gif' border='0'>");
       if(rows > 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(rows > 0 && rows != beanListBase.getSelectData().getPageNo())
           out.print("<a href='javascript:turnPage( \"" + (beanListBase.getSelectData().getPageNo() + 1) + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_next.gif' border='0' alt='到下一頁'>");
       if(rows > 0 && rows != beanListBase.getSelectData().getPageNo())
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(rows > 0 && rows != beanListBase.getSelectData().getPageNo())
           out.print("<a href='javascript:turnPage( \"" + rows + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_last.gif' border='0' alt='到末頁'>");
       if(rows > 0 && rows != beanListBase.getSelectData().getPageNo())
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_right.gif' border='0'></td>");
       out.print("\n\t<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>");
       out.print("\n</tr>");
       out.print("\n</table>\n");
   }
   catch(Exception e)
   {
       System.out.println(e.toString());
       throw e;
   }
}

public static void displayTurnPageBottom(JspWriter out, BeanListBase beanListBase)
   throws Exception
{
   try
   {
       int rows = beanListBase.getSelectData().getRecordCount() / beanListBase.getSelectData().getPageRowNum();
       if(beanListBase.getSelectData().getRecordCount() % beanListBase.getSelectData().getPageRowNum() != 0)
           rows++;
       out.print("\n<table border='0' cellspacing='0' cellpadding='0' height='30'>");
       out.print("\n<tr>");
       out.print("\n\t<td nowrap class='tdPages'>&nbsp;【共 <font class='pageFont' color='red'>" + beanListBase.getSelectData().getRecordCount() + "</font> 條記錄 第 <font class='pageFont' color='red'>" + beanListBase.getSelectData().getPageNo() + "</font> 頁 共 <font class='pageFont' color='red'>" + rows + "</font> 頁】</td>");
       out.print("\n\t<td width='100%'>&nbsp;</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_left.gif' border='0'></td>");
       out.print("\n\t<td><a href='#'><img src='" + contexPath + "/includes/images/ns1_tp_top.gif' border='0'></a></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(rows > 1 && beanListBase.getSelectData().getPageNo() != 1)
           out.print("<a href='javascript:turnPage( \"1\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_first.gif' border='0' alt='到首頁'>");
       if(rows > 1 && beanListBase.getSelectData().getPageNo() != 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(rows > 1 && beanListBase.getSelectData().getPageNo() != 1)
           out.print("<a href='javascript:turnPage( \"" + (beanListBase.getSelectData().getPageNo() - 1) + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_pre.gif' border='0' alt='到上一頁'>");
       if(rows > 1 && beanListBase.getSelectData().getPageNo() != 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_goto.gif' border='0'></td>");
       out.print("\n\t<td><input type='text' name='goToPageBottom' id='goToPageBottom' class='goToPageText' maxlength='4'></td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_page.gif' border='0'></td>");
       out.print("\n\t<td>");
       if(rows > 1)
           out.print("<a href=\"javascript:if ( checkPageNO( document.all( 'goToPageBottom' ).value, '" + rows + "' ) ) { turnPage( document.all( 'goToPageBottom' ).value ) }\">");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_go.gif' border='0'>");
       if(rows > 1)
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(rows > 0 && rows != beanListBase.getSelectData().getPageNo())
           out.print("<a href='javascript:turnPage( \"" + (beanListBase.getSelectData().getPageNo() + 1) + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_next.gif' border='0' alt='到下一頁'>");
       if(rows > 0 && rows != beanListBase.getSelectData().getPageNo())
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_line.gif'></td>");
       out.print("\n\t<td>");
       if(rows > 0 && rows != beanListBase.getSelectData().getPageNo())
           out.print("<a href='javascript:turnPage( \"" + rows + "\" )'>");
       out.print("<img src='" + contexPath + "/includes/images/ns1_tp_last.gif' border='0' alt='到末頁'>");
       if(rows > 0 && rows != beanListBase.getSelectData().getPageNo())
           out.print("</a>");
       out.print("</td>");
       out.print("\n\t<td><img src='" + contexPath + "/includes/images/ns1_tp_right.gif' border='0'></td>");
       out.print("\n\t<td nowrap>&nbsp;&nbsp;&nbsp;&nbsp;</td>");
       out.print("\n</tr>");
       out.print("\n</table>\n");
   }
   catch(Exception e)
   {
       System.out.print(e.toString());
       throw e;
   }
}

}
